function inputfocus(id){
	//var email = document.getElementById("email");
	id.className = "login_content_input login_content_input_Focus";
}

function inputblur(id){
	id.className = "login_content_input";
}

function checkLogin(){
	var email = document.getElementById("email").value;
	var pwd = document.getElementById("pwd").value;
	
	var email = /^\w+([-+.]\w+)*@\w+([-.]\w+)*$/;
	if(!emailReg.test(email)){
		alert("输入Email地址有误，请确认后重新输入");
		return false;
	}
	
	var pwdReg=/^\w{8,16}$/;
	if(!pwdReg.test(pwd)){
		alert("密码为数字字母下划线组成，长度为8-16位");
		return false;
	}
	
	return true;
}

function jump(){
	window.location.href="register.html";
}
